num={
    'wang' : 1,
    'zhang' : 3,
    'li' : 4,
    'zhao' : 6,
    'lu' : 7,
    }
for key in sorted(num.keys()):
    print(key, end="：")

print()
for key,value in sorted(num.items()):
    print(key, end="：")
    print(value,end=" ")

favorite_languages = {
    'jen':'python',
    "sarah":'c',
    'edward':"ruby",
    'phil':'python'
    }
for key in favorite_languages.keys():
    print(key, end="：")

#edward：jen：phil：sarah：